package com.zxw.代码处理.判断测试;

import org.springframework.util.ObjectUtils;

/**
 * @projectName: util-cloud
 * @package: com.zxw.代码处理.判断测试
 * @className: Test
 * @author: zhangxuewei
 * @description:
 * @date: 2025/2/18 10:29
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        User user = new User();
        if (ObjectUtils.isEmpty(user)) {
            System.out.println("1");
        } else {
            System.out.println("2");
        }
    }
}
